﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<List<EnterpriseManagement.Models.ProjectEmployeePositionDistributeModel>>" %>
<%@ Import Namespace="EnterpriseManagement.Models"%>
<%ProjectEmployeePositionDistributeModel distributeModel = Model.First(); %>
<style>
.distributetd
{
	width:100px;
}
</style>

<h1>项目组职位分布表</h1>
<br />
<br />
<div style ="text-align:center">
<table class ="noframe" style ="margin-left:20%">
    <tr>
        <td class="distributetd"><%:Html.LabelFor(model => distributeModel.ProjectName)%></td>  
        <td class="distributetd"><%:Html.LabelFor(model => distributeModel.Manager)%></td>
        <td class="distributetd"><%:Html.LabelFor(model => distributeModel.Dev)%></td>
        <td class="distributetd"><%:Html.LabelFor(model => distributeModel.QA)%></td>
        <td class="distributetd"><%:Html.LabelFor(model => distributeModel.BA)%></td>
   
    </tr>

<%foreach (ProjectEmployeePositionDistributeModel model in Model)
  { %>
    <tr>
        <td class="display-field"><%: model.ProjectName%></td> 
        <td class="display-field"><%: model.Manager%></td>
        <td class="display-field"><%: model.Dev%></td>
        <td class="display-field"><%: model.QA%></td>
        <td class="display-field"><%: model.BA%></td>
    </tr>
<%} %>

</table>
</div>